/*
 * main.c
 *
 *  Created on: 06/09/2011
 *      Author: utn_so
 */


#include "Runner.h"
void g(void)
{
  malloc(4000);
}

void f(void)
{
 malloc(2000);
 g();
}

int Massif(void)
{
 int i;
 int* a[10];

 for (i = 0; i < 10; i++) {
	a[i] = malloc(1000);
 }

 f();

 g();

 for (i = 0; i < 10; i++) {
	free(a[i]);
 }

 return 0;
  }
